package com.aurora.oa.Constants;

/**
 * Created by Administrator on 2017/3/9 0009.
 */
public  class AuroraConstants {

 // public static final String BASE_SERVER_URL = "http://oa.rsaurora.com.cn";
   public static final String BASE_SERVER_URL = "http://192.168.2.139:8080/aurora-oa";
    public static final String LOG_IN_URL = BASE_SERVER_URL+"/user/login";
    public static final String GET_MESSAGE_COUNT_URL = BASE_SERVER_URL+ "/message/getmsgcount";
    public static final String GET_MESSAGE_MYRECEIVE = BASE_SERVER_URL+"/message/myReceive";
    public static final String POST_FILE_URL = BASE_SERVER_URL+ "/attachment/upload";
    public static final String SEND_MESSAGE_URL =BASE_SERVER_URL+ "/notice/add";
    public static final String GET_FIRST_ARTICLE = BASE_SERVER_URL+"/article/getfirst";
    public static final String GET_USER_CURRENT_MONTH_DATA =BASE_SERVER_URL+ "/userCurrentMonthData";
    public static final String GET_SHOUYE_URL = BASE_SERVER_URL+"/shouye";
    public static final String GET_MY_CONTACTS_LIST_URL = BASE_SERVER_URL+"/contacts/getMyContacts";
    public static final String DO_SIGN_URL = BASE_SERVER_URL+"/sign/add";
    public static final String GET_EXPENCE_PAGE_URL = BASE_SERVER_URL +"/expense/page";
    public static final String SEND_LOG_URL = BASE_SERVER_URL+"/work/add";
    public static final String GET_COMPANY_STRUCTURE_DATA_URL = BASE_SERVER_URL+"/structure/listWithUsers";
    public static final String GET_WHOS_LOG_BY_DAY = BASE_SERVER_URL+"/work/getDetail";
    public static final String GET_MYSEND_LOG_BY_DAY = BASE_SERVER_URL+"/work/getDay";
    public static final String GET_MYRECEIVE_WORK_LOG = BASE_SERVER_URL+"/work/getMyReceive";
    public static final String GET_APPROVAL_CENTER_DATA =BASE_SERVER_URL+"/approvalCenter";
    public static final String GET_NOTICE_LIST = BASE_SERVER_URL+"/notice/page";
    public static final String SEND_COMMON_APPLY =BASE_SERVER_URL+ "/tongyong_application/add";
    public static final String GET_NOTICE_DETAIL = BASE_SERVER_URL+ "/notice/getDetail";;
    public static final String GET_WORK_LOG_DETAIL = BASE_SERVER_URL+ "/work/get" ;
    public static final String GET_EXPENCE_DETAIL = BASE_SERVER_URL+ "/expense/get";
    public static final String GET_APPROVE_LIST_DATA =BASE_SERVER_URL+ "/flow_user/getMyReceived";
    public static final String GET_APPROVE_DETAIL =BASE_SERVER_URL+ "/flow_user/getApprovalDetail";
    public static final String DO_APPROVE_TRANSFER = BASE_SERVER_URL+ "/flow_user/transit";
    public static final String DO_APPROVE =BASE_SERVER_URL+ "/flow_user/approval";
    public static final String DO_APPROVE_COMMENT = BASE_SERVER_URL+"/flow_user/comment";
    public static final String GET_DAILY_DATA = BASE_SERVER_URL+"/workLogCenter";
    public static final String GET_TODAY_SIGNUSER = BASE_SERVER_URL+"/sign/listTodaySignUser";
    public static final String GET_USER_MONTH_DATA = BASE_SERVER_URL+"/userMonthData";
    public static final String GET_APPLY_LIST_DATA = BASE_SERVER_URL+"/flow_user/getMySend";
    public static final String SEND_LEAVE_APPLY = BASE_SERVER_URL+"/leaves/add";
    public static final String SEND_OVERTIME_APPLY =BASE_SERVER_URL+"/overtime/add";
    public static final String SEND_EVECTION_APPLY =BASE_SERVER_URL+ "/chuchai/add";
    public static final String SEND_MONEY_APPLY = BASE_SERVER_URL+ "/application/add";
    public static final String GET_APPLY_CAR_LIST_DATA = BASE_SERVER_URL+ "/car/page";
    public static final String SEND_CAR_APPLY = BASE_SERVER_URL+ "/car_application/add";
    public static final String GET_PATROLLOG_LIST_DATA = BASE_SERVER_URL +"/patrollog/getMyPatrollogByMonth";
    public static final String GET_PATROLLOG_DETAIL =BASE_SERVER_URL +"patrollog/get";
    public static final String SEND_PATROLLOG_URL = BASE_SERVER_URL +"/patrollog/add";
    public static final String GET_PATROLSHOP_LIST_DATA =  BASE_SERVER_URL +"/patrollog/listCount";
    public static final String GET_LOGLIST_BY_SHOPID_AND_DATE = BASE_SERVER_URL +"/patrollog/getListByShopIdAndDate";
    public static final String DO_TEAM_ADD = BASE_SERVER_URL +"/team/add";
    public static final String DO_CONTACTS_GROUP_ADD =BASE_SERVER_URL + "/contactsgroup/add";
    public static final String GET_MY_TEAM_LIST_DATE = BASE_SERVER_URL +"/team/getTeams";
    public static final String GET_MY_CONTACTS_GROUP_LIST_DATE = BASE_SERVER_URL +"/contactsgroup/listAll";
    public static final String GET_MY_TEAM_MEMBER_LIST_DATE = BASE_SERVER_URL + "/teamuser/listByteamid";
    public static final String GET_MY_CONTACTS_LIST_DATE = BASE_SERVER_URL+"/contacts/getListGroupid";
    public static final String DO_TEAM_MEMBER_ADD = BASE_SERVER_URL+"/teamuser/add";
    public static final String DO_GROUP_MEMBER_ADD = BASE_SERVER_URL+"/contacts/add";
    public static final String GET_USER_INFO =BASE_SERVER_URL+ "/user/get";
    public static final String UPDATE_USER_HEADIMG =BASE_SERVER_URL+ "/user/headupload";
    public static final String DO_USER_INFO_UPDATE = BASE_SERVER_URL+"/user/update";
    public static final String GET_APPLY_CAR_HISTORY_DATA = BASE_SERVER_URL+"/car_application/page";
    public static final String GET_TRACK_HISTORY_DATA_MONTH = BASE_SERVER_URL+"/sign/getSignMonth";
    public static final String DO_SIGN_COMMENT = BASE_SERVER_URL+"/sign/comment";
    public static final String GET_COMPANY_FILES = BASE_SERVER_URL+"/company_file/page";
    public static final String DO_FEEDBACK_UPLOAD =BASE_SERVER_URL+"/feedback/add";
    public static final String GET_ARTICAL_DETAIL = BASE_SERVER_URL+"/article/getDetail";
 //http://192.168.0.106:8080/aurora-oa/work/getDay/2017-04-18

    public static class Message{
        public static final int GROUP_MESSAGE_TYPE =1;
        public static final int DEPART_MESSAGE_TYPE =2;
        public static final int PERSON_MESSAGE_TYPE =3;
    }

    public static class UserInfoKey {
        public static final String REAL_NAME = "realname";
        public static final String SEX = "sex";
        public static final String REGION = "region";
        public static final String MPHONE = "mphone";
        public static final String WEIXIN = "weixin";
        public static final String EMAIL ="email";

    }
}
